package yf.mall.service;


import java.math.BigDecimal;
import java.util.Date;

public interface NoticeService {

    /***************公共通知部分*******/

    //短信发送验证码
    String sendCaptcha(String mobile);


    /**********商城微信通知部分***********/

    //账户变动通知
    void sendAccount(String openId,String amount,BigDecimal nowAmount,String type,String info);

    //入库通知
    void sendOrderIn(String openId,String name,String detail);

    //出库通知
    void sendOrderOut(String openId,String name,String detail);

    //用户注册通知
    void sendUserIn(String openId,String userName,String mobile);

    //用户下单成功通知
    void sendOrderDone(String openId,String name,String detail,String payWay,BigDecimal amount);

    //用户提现申请通知
    void sendApplyCash(String openId, String amount, Date time, String type, String info) ;

    //用户提现申请状态通知
    void sendApplyCashStatus(String openId, String amount, Date crateTime, Date passTime, String type, String status, String info);

    //订单发货通知
    void sendOrderLog(String openId,String orderNo,String name,String company,String logNo,String address);

    //公益通知
    void noticeWelFare(String openId,String name,BigDecimal amount);
    /**********定制开课通知部分***********/

    //微信给用户发送课程
    void sendConfirmCourse(String openId, String courseName, String courseInfo);


    //短信发送课程给用户
    void sendCourseToAdmin(String phone, String name, Integer number);


}
